﻿namespace TiaoTiaoCode.AutoUpdate.ServerUI.Splashs
{
    /// <summary>
    /// Splash事件消息体
    /// </summary>
    internal class LoadingDialogPubSubEventMessage
    {
        public LoadingDialogPubSubEventMessage(string content, SplashCommand cmd) => (LoadingContent, Command) = (content, cmd);

        /// <summary>
        /// Loading文本
        /// </summary>
        public string LoadingContent { get; set; }

        /// <summary>
        /// 指令控制
        /// </summary>
        public SplashCommand Command { get; set; }
    }
}
